package com.cloud.dao;

import com.cloud.model.DemoTableStudent;
import java.util.List;
import com.github.pagehelper.PageInfo;

import org.apache.ibatis.annotations.Param;

/**
 * Created by util on 2018-4-27.
 */
public interface DemoTableStudentDao {

    int insertDemoTableStudent(DemoTableStudent demoTableStudent);

    int deleteDemoTableStudent(DemoTableStudent demoTableStudent);
    
    int updateDemoTableStudent(DemoTableStudent demoTableStudent);

    DemoTableStudent selectDemoTableStudentById(@Param("id") Integer id);

    List<DemoTableStudent> selectDemoTableStudentList(DemoTableStudent demoTableStudent);
    
    PageInfo selectDemoTableStudentPage(@Param("demoTableStudent") DemoTableStudent demoTableStudent, Integer pageNum, Integer pageSize);
}